package com.ts.main.admin.mapper;

import com.ts.main.admin.dto.MiniRoleSearchPageDto;
import com.ts.main.admin.entity.RoleEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ts.main.admin.vo.MiniRoleVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lk
* @description 针对表【t_role(角色表)】的数据库操作Mapper
* @createDate 2025-06-09 00:38:59
* @Entity generator.domain.TRole
*/
public interface RoleMapper extends BaseMapper<RoleEntity> {

    List<MiniRoleVo> getAdminRolePage(@Param("dto") MiniRoleSearchPageDto dto);

    MiniRoleVo getMiniRoleDetails(@Param("roleId") Integer roleId);
}




